package com.zjxf.base.bean.po;

import com.zjxf.base.common.IdEntity;
import lombok.Getter;
import lombok.Setter;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 管理员
 *
 * @author ZhangWei
 * @date 2021/3/26/026 18:57
 */
@Setter
@Getter
@Entity
@Table(name = "ums_admin")
public class UmsAdmin extends IdEntity {

    /**
     * 管理员名称
     */
    @Column(name = "name",columnDefinition = "varchar(64) comment '管理员名称'")
    private String name;

    /**
     * 管理员用户名
     */
    @Column(name = "username",columnDefinition = "varchar(64) comment '管理员用户名'")
    private String username;

    /**
     * 管理员用户密码
     */
    @Column(name = "password",columnDefinition = "varchar(64) comment '管理员密码'")
    private String password;

    /**
     * 密码盐
     */
    @Column(name = "salt",columnDefinition = "varchar(32) comment '密码盐'")
    private String salt;

}
